class GetPubKeyResponse {
  String? publicKey;
    String? namespace;
    String? errorCode;
    String? errorMessage;

    GetPubKeyResponse({this.publicKey, this.namespace, this.errorCode, this.errorMessage});

    GetPubKeyResponse.fromJson(Map<String, dynamic> json) {
        publicKey = json["publicKey"];
        namespace = json["namespace"];
        errorCode = json["errorCode"];
        errorMessage = json["errorMessage"];
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> _data = <String, dynamic>{};
        _data["publicKey"] = publicKey;
        _data["namespace"] = namespace;
        _data["errorCode"] = errorCode;
        _data["errorMessage"] = errorMessage;
        return _data;
    }
}

